package org.jivesoftware.smack.filter;

import org.jivesoftware.smack.packet.Packet;

public class NotFilter
  implements PacketFilter
{
  private PacketFilter filter;

  public NotFilter(PacketFilter paramPacketFilter)
  {
    if (paramPacketFilter == null)
      throw new IllegalArgumentException("Parameter cannot be null.");
    this.filter = paramPacketFilter;
  }

  public boolean accept(Packet paramPacket)
  {
    return !this.filter.accept(paramPacket);
  }
}

/* Location:           D:\hygieia\userclient\common\libs\easemobchat_2.1.8.jar
 * Qualified Name:     org.jivesoftware.smack.filter.NotFilter
 * JD-Core Version:    0.6.1
 */